/*
 * @Author: miteng 973203639@qq.com
 * @Date: 2024-06-20 10:35:52
 * @LastEditors: miteng 973203639@qq.com
 * @LastEditTime: 2024-07-30 16:02:05
 * @Description: 
 * Copyright (c) 2024-present HBIS Digital Technology Co.,Ltd. All rights reserved. 
 */
/**
 * @description: 请求响应参数(包含list）
 */
export type ResultDataList<T> = ResultData<ResPage<T>>


// * 请求响应参数(不包含data)
export interface Result {
  code: string;
  message: string;
  success: boolean;
}

/**
 * @description: 请求分页参数
 * @return {*}
 */
export type PageParms<T> = Partial<ReqPage & T>

// * 请求响应参数(包含data)
export interface ResultData<T> extends Result {
  data: T;
}

// * 分页响应参数
export interface ResPage<T> {
  rows: T[];
  pageNo: number;
  pageSize: number;
  totalPage: number;
  totalRows: number;
}

// * 分页请求参数
export interface ReqPage {
  pageNum: number;
  pageNo: number;
  pageSize: number;
}
// * 表基础信息
export interface ReqBasicInfo {
  createTime: string;
  createUser: string;
  updateTime: string;
  updateUser: string;
  createUserName: string;
  updateUserName: string;
}
/**
 * @description: ID类型
 */
export type ID = string | number

// * 表基础信息
export interface ReqBasicInfo {
  createTime: string;
  createUser: string;
  updateTime: string;
  updateUser: string;
  createUserName: string;
  updateUserName: string;
}
